package com.lagou.minicat.service;

import com.lagou.minicat.connector.Connector;
import com.lagou.minicat.container.Engine;
import com.lagou.minicat.mapper.Mapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName Service
 * @Description 主要是组合Connector和Container
 * @Author playboy
 * @Date 2021/5/22 3:15 下午
 * @Version 1.0
 **/
public class Service {
	private static Logger log = LoggerFactory.getLogger(Service.class);

	private List<Connector> connectors = new ArrayList<>();

	private Engine engine;

	private Mapper mapper = new Mapper();

	public List<Connector> getConnectors() {
		return connectors;
	}

	public void setConnectors(List<Connector> connectors) {
		this.connectors = connectors;
	}

	public Engine getEngine() {
		return engine;
	}

	public void setEngine(Engine engine) {
		this.engine = engine;
	}

	public Mapper getMapper() {
		return mapper;
	}
}
